package com.jk.smartelderlycare.service;

import com.jk.smartelderlycare.dto.SysProcurement;
import com.jk.smartelderlycare.pojo.PagedResponse;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Description 添加描述
 * @Author hhk
 * @LastChangeDate 2024/12/5 9:52
 * @Version v1.0
 */
public interface SysProcurementService {
    /**
     * @description: 后端分页查询
     * @param: [sysProcurement, pageNum, pageSize]
     * @return: com.jk.smartelderlycare.pojo.PagedResponse<com.jk.smartelderlycare.dto.SysProcurement>
     * @author hhk
     * @date: 2024/12/5 9:34
     */

    public PagedResponse<SysProcurement> findSysProcurementPaginationList( SysProcurement sysProcurement,  Integer pageNum,  Integer pageSize);
    /**
     * @description: 新增采购
     * @param: [sysProcurement]
     * @return: void
     * @author hhk
     * @date: 2024/12/5 9:35
     */

    public void addSysProcurement( SysProcurement sysProcurement);
    /**
     * @description:删除
     * @param: [documentId]
     * @return: void
     * @author hhk
     * @date: 2024/12/5 9:40
     */

    public void deleteSysProcurementById(Long documentId);
    /**
     * @description: 审核
     * @param: [documentId]
     * @return: void
     * @author hhk
     * @date: 2024/12/5 9:45
     */

    public void upStatusById(  Long documentId);

    /**
     * @description: 未审核
     * @param: [documentId]
     * @return: void
     * @author hhk
     * @date: 2024/12/5 9:45
     */

    public void downStatusById( Long documentId);
    /**
     * @description: 根据id查询采购信息
     * @param: [documentId]
     * @return: void
     * @author hhk
     * @date: 2024/12/5 9:45
     */

    public void findSysProcurementById( Long documentId);
    /**
     * @description: 修改
     * @param: [sysProcurement]
     * @return: void
     * @author hhk
     * @date: 2024/12/5 9:48
     */

    public void updateSysProcurement( SysProcurement sysProcurement);
    /**
     * @description: 导出
     * @param: []
     * @return: com.jk.smartelderlycare.dto.SysProcurement
     * @author hhk
     * @date: 2024/12/5 9:50
     */

    public List<SysProcurement> findSysProcurement();

    /**
     * @description: 导入
     * @param: []
     * @return: com.jk.smartelderlycare.dto.SysProcurement
     * @author hhk
     * @date: 2024/12/5 9:50
     */

    public void addProcurement(SysProcurement sysProcurement);

    /**
     * @description: 关闭
     * @param: [vendorName]
     * @return: java.util.List<com.jk.smartelderlycare.dto.SysProcurement>
     * @author hhk
     * @date: 2024/12/5 20:37
     */

    public void ShutdownStatusById( Long documentId);

}
